* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}
html {
  font-size: 10px;
  font-family: -apple-system, system-ui, Segoe UI, Roboto, Ubuntu, Cantarell,
    Noto Sans, sans-serif, BlinkMacSystemFont, "Helvetica Neue", "PingFang SC",
    "Hiragino Sans GB", "Microsoft YaHei", Arial;
  word-break: break-word;
  text-rendering: optimizeLegibility;
}
html,
body,
#__next {
  height: 100%;
}

a,
.iconfont {
  text-decoration: none;
  cursor: pointer;
}
li {
  color: #333;
  text-decoration: none;
  list-style: none;
}

.page {
  min-width: 375px;
  height: 100vh;
  display: flex;
  flex-direction: column;
}

.wrapRaw {
  height: 100%;
  overflow: auto;
  position: relative;
  &::-webkit-scrollbar {
    width: 0 !important;
  }
}

.wrap {
  @extend .wrapRaw;
  padding: 1rem;
  padding-top: 0;
}

.top {
  position: sticky;
  top: 0px;
  z-index: 20;
}

.price {
  line-height: 1.6rem;
  font-size: 1.6rem;
  font-weight: 600;
  color: #c75943;
}

.back {
  display: flex;
  -webkit-box-pack: center;
  justify-content: center;
  -webkit-box-align: center;
  align-items: center;
  width: 46px;
  height: 46px;
  position: fixed;
  bottom: 15rem;
  right: 16px;
  border-radius: 50%;
  background: rgba(102, 102, 102, 0.96);
  box-shadow: rgb(0 0 0 / 10%) 0px 0px 8px 0px;
}

@media screen and (min-width: 375px) {
  html,
  body,
  #__next {
    height: 100%;
    background-color: #f2f2f2;
  }
  .page {
    min-width: 375px;
    height: 100vh;
    display: flex;
    flex-direction: column;
    max-width: 600px;
    margin: 0 auto;
    background-color: white;
  }
}

@media screen and (min-width: 600px) {
  .adm-popup-body-position-bottom,
  .adm-floating-panel {
    min-width: 37.5rem;
    max-width: 60rem;
    left: calc((100vw - 60rem) / 2) !important;
  }
  .back {
    right: calc((100vw - 60rem) / 2 + 16px);
  }
  .adm-floating-panel {
    max-width: 60rem;
  }
}

// antd-mobile 样式修改
.adm-search-bar {
  flex-grow: 1;
}
.adm-search-bar-input-box {
  height: 4rem;
}

.adm-page-indicator-dot-active {
  // background: #39c2bc !important;
}

.admInput {
  flex-grow: 1;
  .adm-input-element {
    height: 3rem;
    font-size: 1.5rem;
    padding: 0 1rem;
  }
}
.adm-ellipsis {
  a {
    color: #00b578;
  }
}

.userPage {
  .adm-badge-content {
    height: 8px;
    width: 6px;
  }
}

.adm-badge-content {
  height: 1.7rem;
  width: 1.7rem;
  font-size: 1.4rem !important;
  padding: 0.2rem !important;
}

.adm-popup-body-position-bottom {
  height: 50rem;
  border-top-left-radius: 1.2rem;
  border-top-right-radius: 1.2rem;
  .adm-cascader-view-content {
    height: 42rem;
    overflow: auto;
  }
}
